Integrand size = 18, antiderivative size = 163 \[ \int \frac {x (d+e x)^n}{a+c x^2} \, dx=-\frac {(d+e x)^{1+n} \operatorname {Hypergeometric2F1}\left (1,1+n,2+n,\frac {\sqrt {c} (d+e x)}{\sqrt {c} d-\sqrt {-a} e}\right )}{2 \sqrt {c} \left (\sqrt {c} d-\sqrt {-a} e\right ) (1+n)}-\frac {(d+e x)^{1+n} \operatorname {Hypergeometric2F1}\left (1,1+n,2+n,\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}\right )}{2 \sqrt {c} \left (\sqrt {c} d+\sqrt {-a} e\right ) (1+n)} \]
[Out]
Time = 0.05 (sec) , antiderivative size = 163, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 2, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.111, Rules used = {845, 70} \[ \int \frac {x (d+e x)^n}{a+c x^2} \, dx=-\frac {(d+e x)^{n+1} \operatorname {Hypergeometric2F1}\left (1,n+1,n+2,\frac {\sqrt {c} (d+e x)}{\sqrt {c} d-\sqrt {-a} e}\right )}{2 \sqrt {c} (n+1) \left (\sqrt {c} d-\sqrt {-a} e\right )}-\frac {(d+e x)^{n+1} \operatorname {Hypergeometric2F1}\left (1,n+1,n+2,\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}\right )}{2 \sqrt {c} (n+1) \left (\sqrt {-a} e+\sqrt {c} d\right )} \]
[In]
[Out]
Rule 70
Rule 845
Rubi steps \begin{align*} \text {integral}& = \int \left (-\frac {(d+e x)^n}{2 \sqrt {c} \left (\sqrt {-a}-\sqrt {c} x\right )}+\frac {(d+e x)^n}{2 \sqrt {c} \left (\sqrt {-a}+\sqrt {c} x\right )}\right ) \, dx \\ & = -\frac {\int \frac {(d+e x)^n}{\sqrt {-a}-\sqrt {c} x} \, dx}{2 \sqrt {c}}+\frac {\int \frac {(d+e x)^n}{\sqrt {-a}+\sqrt {c} x} \, dx}{2 \sqrt {c}} \\ & = -\frac {(d+e x)^{1+n} \, _2F_1\left (1,1+n;2+n;\frac {\sqrt {c} (d+e x)}{\sqrt {c} d-\sqrt {-a} e}\right )}{2 \sqrt {c} \left (\sqrt {c} d-\sqrt {-a} e\right ) (1+n)}-\frac {(d+e x)^{1+n} \, _2F_1\left (1,1+n;2+n;\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}\right )}{2 \sqrt {c} \left (\sqrt {c} d+\sqrt {-a} e\right ) (1+n)} \\ \end{align*}
Time = 0.08 (sec) , antiderivative size = 151, normalized size of antiderivative = 0.93 \[ \int \frac {x (d+e x)^n}{a+c x^2} \, dx=-\frac {(d+e x)^{1+n} \left (\left (\sqrt {c} d+\sqrt {-a} e\right ) \operatorname {Hypergeometric2F1}\left (1,1+n,2+n,\frac {\sqrt {c} (d+e x)}{\sqrt {c} d-\sqrt {-a} e}\right )+\left (\sqrt {c} d-\sqrt {-a} e\right ) \operatorname {Hypergeometric2F1}\left (1,1+n,2+n,\frac {\sqrt {c} (d+e x)}{\sqrt {c} d+\sqrt {-a} e}\right )\right )}{2 \sqrt {c} \left (c d^2+a e^2\right ) (1+n)} \]
[In]
[Out]
\[\int \frac {x \left (e x +d \right )^{n}}{c \,x^{2}+a}d x\]
[In]
[Out]
\[ \int \frac {x (d+e x)^n}{a+c x^2} \, dx=\int { \frac {{\left (e x + d\right )}^{n} x}{c x^{2} + a} \,d x } \]
[In]
[Out]
\[ \int \frac {x (d+e x)^n}{a+c x^2} \, dx=\int \frac {x \left (d + e x\right )^{n}}{a + c x^{2}}\, dx \]
[In]
[Out]
\[ \int \frac {x (d+e x)^n}{a+c x^2} \, dx=\int { \frac {{\left (e x + d\right )}^{n} x}{c x^{2} + a} \,d x } \]
[In]
[Out]
\[ \int \frac {x (d+e x)^n}{a+c x^2} \, dx=\int { \frac {{\left (e x + d\right )}^{n} x}{c x^{2} + a} \,d x } \]
[In]
[Out]
Timed out. \[ \int \frac {x (d+e x)^n}{a+c x^2} \, dx=\int \frac {x\,{\left (d+e\,x\right )}^n}{c\,x^2+a} \,d x \]
[In]
[Out]